import React from 'react'

export default function Wefrecord({ weatherList }) {
    return (
        <>
            {weatherList.map(item => {
                return <div key={item.id} style={{ border: '1px solid grey', margin: 10 }}>
                    <div style={{padding: 10 }}>
                        <img style={{ width: 20, height: 20 }} src={"http://124.93.196.45:10001/" + item.imgUrl} alt='' />
                        <span style={{marginLeft: 10 }}><span style={{fontSize: 20,color: 'green'}}>水费 </span> 
                        <span style={{fontSize: 10,color: 'red'}}>付款时间：{item.rechargeTime} </span> 
                        
                        </span>
                        
                        <div style={{marginTop: 5}}>支付方式 ：{item.paymentType}</div>
                        <div style={{marginTop: 5}}>账单编号：{item.billNo}</div>
                        <div style={{marginTop: 5}}>付款编号：{item.paymentNo}</div>
                    </div>
                </div>

            })
            }

        </>


    )
}
